package com.wnnight.wys.util.config;

import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;

/**
 * @ClassName: MyBatisUtil
 * @Description: //TODO
 * @author: LZJ
 * @date: 2022/8/27-20:25
 * @version: v1.0
 */
public class MyBatisUtil {
    public static String getNowTime() {
        LocalDateTime time = LocalDateTime.now();
        DateTimeFormatter dateTimeFormatter = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss");
        return dateTimeFormatter.format(time);
    }
}
